<!DOCTYPE html>
<html>
    <head>
        <title><?php echo CHtml::encode('CMS'); ?></title>
        
        <meta charset="utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
        <meta name="apple-mobile-web-app-capable" content="yes" />
        <meta name="apple-mobile-web-app-status-bar-style" content="black" />
        <meta name="format-detection" content="telephone=no"/>
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        
        <link rel="shortcut icon" href="images/cms.logo.png">
        <link rel="apple-touch-startup-image" href="lib/durandal/img/ios-startup-image-landscape.png" media="(orientation:landscape)" />
        <link rel="apple-touch-startup-image" href="lib/durandal/img/ios-startup-image-portrait.png" media="(orientation:portrait)" />
        <link rel="apple-touch-icon" href="lib/durandal/img/icon.png"/>
        
        <link rel="stylesheet" href="lib/jquery/css/jquery-ui-1.10.4.css" />
        <link rel="stylesheet" href="lib/durandal/css/durandal.css" />
        <link rel="stylesheet" href="lib/toastr/css/toastr.css" />
        <link rel="stylesheet" href="lib/nanoscroller/css/nanoscroller.css" />
        <link rel="stylesheet" href="lib/bootstrap/css/bootstrap.css" />
        <link rel="stylesheet" href="lib/bootstrap/css/bootstrap-select.css" />
        <link rel="stylesheet" href="fonts/font-awesome/css/font-awesome.css" />
        
        <link rel="stylesheet" href="css/ie10mobile.css" />
        <link rel="stylesheet" href="css/minicons.css" />
        <link rel="stylesheet" href="css/cms.css" />
        
        <script type="text/javascript">
            if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
                var msViewportStyle = document.createElement("style");
                var mq = "@@-ms-viewport{width:auto!important}";
                msViewportStyle.appendChild(document.createTextNode(mq));
                document.getElementsByTagName("head")[0].appendChild(msViewportStyle);
            }
        </script>
        <script>
            (function (i, s, o, g, r, a, m) {
                i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
                    (i[r].q = i[r].q || []).push(arguments)
                }, i[r].l = 1 * new Date(); a = s.createElement(o),
                m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
            })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
        </script>
    </head>
    <body>
        <div id="applicationHost" data-height-offset="" data-height-container="layout">
            <div class="splash">
              <div class="message">
                  <?php echo CHtml::encode(Yii::app()->name); ?>
              </div>
              <i class="icon-spinner icon-2x icon-spin active"></i>
          </div>
        </div>

        <script src="lib/jquery/js/jquery-2.1.1.js"></script>
		<script src="lib/jquery/js/jquery-ui-1.10.4.js"></script>
		<script src="lib/jquery/js/jquery.blockUI.js"></script>
		<script src="lib/nanoscroller/js/jquery.nanoscroller.js"></script>
		<script src="lib/bootstrap/js/bootstrap.js"></script>
		<script src="lib/bootstrap/js/bootstrap-select.js"></script>
		<script src="lib/underscore/underscore.js"></script>
		<script src="lib/knockout/knockout-3.1.0.js"></script>
		<script src="lib/knockout/knockout.mapping.js"></script>
		<script src="lib/knockout/knockout.hotkeys.js"></script>
		<script src="lib/underscore/underscore.js"></script>
        <script src="lib/require/require.js" data-main="app/main"></script>
    </body>
</html>